package com.ddsso.auth.web.repository;

/**
 * @author zdd
 * @package com.ddsso.auth.dao
 * @Time Created by zdd on 2016/11/3.
 * @description To-do
 */
public interface LoginDao {

    /**
     * @description 同步session的id
     * @param customerId
     * @param currentSessionId
     */
    public void syncSession(String customerId, String currentSessionId);

    /**
     * @description session失效处理
     * @param customerId
     * @param excludedSessionId
     * @param backwardSessionKey
     * @param forwardSessionKey
     */
    public void invalidSession(String customerId, String excludedSessionId, String backwardSessionKey, String forwardSessionKey);

    /**
     * @description 删除记录的值
     * @param customerId
     */
    public void delCustomerId(String customerId);
}
